package cn.blogger.vo;

import cn.blogger.entity.QueryPageBean;

public class CommentVO extends QueryPageBean {
    private Integer uid;
    //评论用户ID
    private Integer userId;
    //评论来源：MESSAGE_BOARD,BLOG_INFO等
    private String  source;
    //博客uid
    private Integer blog_uid;
    //评论内容
    private String content;

    public Integer getUid() {
        return uid;
    }

    //评论类型 0：评论 1：点赞
    private Integer type;


    //回复某条评论的 uid
    private Integer to_uid;
    //回复某个人的uid
    private Integer to_user_uid;

    public CommentVO() {
    }
    public CommentVO(Integer uid) {
        this.uid = uid;
    }
    public CommentVO(String source) {
        this.source = source;
    }

    public CommentVO(String source, Integer blog_uid) {
        this.source = source;
        this.blog_uid = blog_uid;
    }

    public CommentVO(Integer userId, String source, Integer blog_uid, String content, Integer type, Integer to_uid, Integer to_user_uid) {
        this.userId = userId;
        this.source = source;
        this.blog_uid = blog_uid;
        this.content = content;
        this.type = type;
        this.to_uid = to_uid;
        this.to_user_uid = to_user_uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getBlog_uid() {
        return blog_uid;
    }

    public void setBlog_uid(Integer blog_uid) {
        this.blog_uid = blog_uid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTo_uid() {
        return to_uid;
    }

    public void setTo_uid(Integer to_uid) {
        this.to_uid = to_uid;
    }

    public Integer getTo_user_uid() {
        return to_user_uid;
    }

    public void setTo_user_uid(Integer to_user_uid) {
        this.to_user_uid = to_user_uid;
    }
}
